<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<?php
    echo $this->HeadMeta();     
    echo $this->headTitle(); 
    echo $this->headLink();  
    $this->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');	
    	$this->dojo()->enable();
    // Check if dojo library is needed
   // if ($this->dojo()->isEnabled() || 1) {  	
    	$this->dojo()//->setLocalPath('js/dojo/dojo/dojo.js')
                 ->addStyleSheetModule('dijit.themes.soria')//URGENT:trouver un moyen de parametrer et dynamiser ça, tester is dojo()->isEnabled()
                 //->setDjConfigOption('usePlainJson', true)
                 ; 
        //$this->dojo()->requireModule("dijit.form.button");
        //$this->dojo()->requireModule("dijit.layout.CorderContainer");
        //$this->dojo()->requireModule("dijit.layout.ContentPane");
  		//$this->dojo()->requireModule("dojo.parser");
       $this->dojo()->setDjConfigOption('locale', 'en');
       //$this->dojo()->addLayer('js/dojo/layers/foo.js');
       // Echo out the dojo <script> tags
        echo $this->dojo();
    //}
    
    echo $this->headScript(); 
?>		
</head>

<body class="soria">


<?php
//zend_debug::dump($this); exit;
//zend_debug::dump($this); exit;
/*$this->borderContainer()->captureStart('masterLayout2',
                                       array('design' => 'headline'),
                                       array('style'=>'width: 1000px; height: 550px;'));

echo $this->contentPane(
    'menuPane2',
    'header',//$this->partial("layout_header.phtml"),
    array('region' => 'top'),
    array('style' => 'background-color: lightblue;')
);

echo  $this->contentPane(
    'navPane2',
    'left menu',//$this->partial("layout_left_menu.phtml"),
    array('region' => 'left'),
    array('style' => 'width: 200px; background-color: lightblue;')
);

echo $this->contentPane(
    'mainPane2',
    '<h2>'.$this->title.'</h2>',//$this->layout()->content,
    array('region' => 'center'),
    array('style' => 'background-color: white;')
);

echo $this->contentPane(
    'statusPane2',
    'footer',//$this->partial("layout_footer.phtml"),
    array('region' => 'bottom'),
    array('style' => 'background-color: lightgray;')
);

echo $this->borderContainer()->captureEnd('masterLayout2');
*/

?>

<?php
 //echo $this->dojo();
/*$this->dojo()->enable();
$this->borderContainer()->captureStart('masterLayout',
                                       array('design' => 'headline'));

echo $this->contentPane(
    'menuPane',
    'This is the menu pane',
    array('region' => 'top'),
    array('style' => 'background-color: darkblue;')
);

echo  $this->contentPane(
    'navPane',
    'This is the navigation pane',
    array('region' => 'left'),
    array('style' => 'width: 200px; background-color: lightblue;')
);

echo $this->contentPane(
    'mainPane',
    'This is the main content pane area',
    array('region' => 'center'),
    array('style' => 'background-color: white;')
);

echo $this->contentPane(
    'statusPane',
    'Status area',
    array('region' => 'bottom'),
    array('style' => 'background-color: lightgray;')
);

echo $this->borderContainer()->captureEnd('masterLayout');

*/
?>
  
 <?php

 echo $this->button(
    'fookk',
    'Show Me layout!',
    array('iconClass' => 'myButtons')
); 

 echo $this->layout()->content;

 
 
/*echo $this->button(
    'foo',
    'Show Me!',
    array('iconClass' => 'myButtons')
); 

echo $this->comboBox(
    'foo',
    'bar',
    array(
        'autocomplete' => false,
    ),
    array(),
    array(
        'foo' => 'Foo',
        'bar' => 'Bar',
        'baz' => 'Baz',
    )
);
*/
 
 ?>   

</body>
</html>




